/*
 * test_framework_database_command.h
 *
 *  Created on: 2014. 7. 2.
 *      Author: jjaehuny
 */

#ifndef TEST_FRAMEWORK_DATABASE_COMMAND_H_
#define TEST_FRAMEWORK_DATABASE_COMMAND_H_

#include <memory>

#include <gtest/gtest.h>
#include <glog/logging.h>

#include <Framework/Database/Command.h>

class test_framework_database_command : public testing::Test
{
public:
	class Dummy
	{
	public:
		Dummy() { LOG(INFO) << __PRETTY_FUNCTION__; }
		~Dummy() { LOG(INFO) << __PRETTY_FUNCTION__; }
	};

public:

	// Sets up the test fixture.
	virtual void SetUp() {
	}

	// Tears down the test fixture.
	virtual void TearDown() {}
};

TEST_F(test_framework_database_command, test_framework_database_command)
{
	::Framework::Database::Command clsCommand;
	std::stringstream stream;
	//stream << "select a, b from " << "AAA where seq = " << 1 << " and string = '" << "CCC" << "';";
	clsCommand.MakeQuery("select a, b from " , "AAA where seq = " , 1 , " and string = '" , "CCC" , "';");
	LOG(INFO) << clsCommand.get_query_();
}



#endif /* TEST_FRAMEWORK_DATABASE_COMMAND_H_ */
